#! /bin/bash
export MY_ROOT_PATH=/home/ben/dev/leboncoinBatch
export MY_LIB_PATH=$MY_ROOT_PATH/lib
export CLASSPATH=.:$MY_LIB_PATH/activation.jar:$MY_LIB_PATH/commons-codec-1.4.jar:$MY_LIB_PATH/commons-email-1.2.jar:$MY_LIB_PATH/commons-logging-1.1.1.jar:$MY_LIB_PATH/httpclient-4.1.2.jar:$MY_LIB_PATH/httpclient-cache-4.1.2.jar:$MY_LIB_PATH/httpcore-4.1.2.jar:$MY_LIB_PATH/httpmime-4.1.2.jar:$MY_LIB_PATH/javax.mail.jar:$MY_LIB_PATH/jsoup-1.6.1-javadoc.jar:$MY_LIB_PATH/jsoup-1.6.1-sources.jar:$MY_LIB_PATH/jsoup-1.6.1.jar:$MY_LIB_PATH/junit.jar:$MY_LIB_PATH/leboncoinBatch.jar:$MY_LIB_PATH/leboncoinPersistence.jar:$MY_LIB_PATH/org.hamcrest.core_1.1.0.v20090501071000.jar:$MY_LIB_PATH/eclipselink.jar:$MY_LIB_PATH/javax.persistence_2.0.3.v201010191057.jar:$MY_LIB_PATH/mysql-connector-java-5.0.8-bin.jar
cd $MY_ROOT_PATH
/usr/lib/jvm/jdk1.7.0_45/bin/java -cp $CLASSPATH -Djava.util.logging.config.file="$MY_ROOT_PATH/conf/logging.properties" com.leboncoin.batch.DaySearch

